package cn.pengyinrui.department.system.emp.service;

import cn.pengyinrui.department.system.emp.domain.Employee;
import cn.pengyinrui.department.base.service.IBaseService;
import cn.pengyinrui.department.system.register.domain.Register;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author peng.yr
 * @since 2023-01-20
 */
public interface IEmployeeService extends IBaseService<Employee> {

    Employee findOneByPhone(String phone);

    Employee findOneByEmail(String email);

    void addByEmail(Register register);
}
